﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DC2010.Objects.Base;

namespace DC2010.Objects.Structures
{
    [Serializable]
    public class DialogInfo : BaseInfo
    {
        public DialogData CreateData()
        {
            DialogData cd = new DialogData();

            cd.InfoId = Id;
            cd.Id = cd.InfoId + "_" + Guid.NewGuid().ToString();
            Root.log.InfoFormat("Core, Created new object with id: {0} based on object {1}", cd.Id, cd.InfoId);

            //TODO: fill with other properties
            Root.I.DialogSystem.AddData(cd);


            return cd;
        }
    }
}
